package com.rtsffm.rtd.test;

import com.rtsffm.rtd.action.controller.ActionDelegate;
import com.rtsffm.rtd.action.model.annotations.ActionFrameworkEnabled;
import com.rtsffm.rtd.action.model.annotations.ActionPublish;
import com.rtsffm.rtd.action.model.annotations.ActionSpecification;

//~--- classes ----------------------------------------------------------------

@ActionFrameworkEnabled
@ActionPublish
public class ActionDelegateImpl implements ActionDelegate {
    @ActionSpecification(actionId = "ActionImplementor:sayHello")
    public void sayHello(Object causer, Object ctx) {
        System.out.println(getClass().getSimpleName() + " - HelloWorld..!!!;hash= " + hashCode() + "; " + ctx);
    }

    //~--- get methods --------------------------------------------------------

    @Override
    public boolean isStillValid() {
        return true;
    }
}
